package com.mingtu.guards.bean;

import java.util.List;

/**
 * @ClassName :
 * @Author : wkk
 * @Date : 2022-6-8 11:31:00
 * @Email : 1281573890@qq.com
 * @Eescription :
 */
public class AnimalStatisticsBean {

    /**
     * msg : success
     * code : 0
     * data : [{"similar":"小麂","total":242},{"similar":"野猪","total":58},{"similar":"野兔","total":57},{"similar":"猪獾","total":53},{"similar":"果子狸","total":43},{"similar":"白冠长尾雉","total":43},{"similar":"刺猬","total":17},{"similar":"貉","total":17},{"similar":"山斑鸠","total":8},{"similar":"野鼠","total":8},{"similar":"勺鸡","total":2},{"similar":"牛","total":2},{"similar":"黄鼠狼","total":1},{"similar":"未知","total":1},{"similar":"狗","total":1}]
     */

    private String msg;
    private String code;
    private List<DataBean> data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * similar : 小麂
         * total : 242
         */

        private String similar;
        private int total;
        private float ratio;


        public float getRatio() {
            return ratio;
        }

        public void setRatio(float ratio) {
            this.ratio = ratio;
        }


        public String getSimilar() {
            return similar;
        }

        public void setSimilar(String similar) {
            this.similar = similar;
        }

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }
    }
}
